<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head> 
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>jQuery viewerXZ</title> 
</head> 

<body>
    <div class="wrapper">
        <div id="viewer1" class="viewer"></div>
       <!--   <div id="viewer1" class="viewer iviewer_cursor"></div> -->
        <br />
    </div>    
        
	<%-- <script type="text/javascript" src='<%=request.getContextPath()%>/script/jquery/plug/viewer/jquery.js'></script> 
	<script type="text/javascript" src="<%=request.getContextPath()%>/script/jquery/plug/viewer/jqueryui.js" ></script>
	<script type="text/javascript" src='<%=request.getContextPath()%>/script/jquery/plug/viewer/jquery.mousewheel.min.js'></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/script/jquery/plug/viewer/jquery.iviewer.js"></script> --%>
	<script type="text/javascript"> 
	<%--   $(function(){ 
		   var $PA = jQuery; 
		   var viewer;
           viewer = $PA("#viewer1").iviewer({
       	  		 src: "<%=request.getContextPath()%>/script/jquery/plug/viewer/ba.png",
          }); 
	  });  --%>
	  
	 <%--  var $PA = jQuery; 
	  $PA(document).ready(function(){  
            var iv1 = $PA("#viewer1").iviewer( 
            { 
            	 src: "<%=request.getContextPath()%>/script/jquery/plug/viewer/ba.png",
            });     
      });
	   --%>
	   
	  jQuery(function($){
          var viewer;
          viewer = $("#viewer1").iviewer({
        	  src: "<%=request.getContextPath()%>/script/jquery/plug/viewer/img/ba.png",
          });
      });
	</script>
</body> 

<!-- Viewer鼠标滚动图片放大 -->>
<%-- <body>
    <div class="wrapper">
        <div id="viewer1" class="viewer iviewer_cursor"></div>
        <br />
    </div>   
	 
	<script type="text/javascript" src='<%=request.getContextPath()%>/script/jquery/plug/viewer/jquery.js'></script> 
	<script type="text/javascript" src="<%=request.getContextPath()%>/script/jquery/plug/viewer/jquery.iviewer.js"></script>
	<script type="text/javascript" src='<%=request.getContextPath()%>/script/jquery/plug/viewer/jquery.mousewheel.min.js'></script>

	<script type="text/javascript"> 
	   $(document).ready(function(){  
		  	 var $PA = jQuery; 
		     var iviewer = {};
		     $PA("#viewer1").iviewer({
		    	  src: "<%=request.getContextPath()%>/script/jquery/plug/viewer/ba.png",
			      zoom: "fit",
			      zoom_min:30,
			      zoom_max: 400,
			      initCallback: function()
			      {    
			        iviewer = this;
			      } 
		     });  
	   });   
	</script>
</body> --%> 
</html>